package Model.States;

import Model.Task;


public class NewState extends PObjectState
{
	//not in DB. Put it into DB.
    public void commit(PersistentObject obj)
    {
    	Task persistentobject=(Task)obj;
    	persistentobject.getDatainterface().insert();
    }
}
